package io.github.uicdb.flame_driven.client;

import io.github.uicdb.flame_driven.client.block.RendererLifeAggregatorLike;
import io.github.uicdb.flame_driven.common.ModRegisteries;
import net.minecraft.client.renderer.blockentity.BlockEntityRenderers;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

public class ModClientEventHandle {

    public static void initClient(FMLClientSetupEvent event){
        event.enqueueWork(()->{
            BlockEntityRenderers.register(ModRegisteries.lifeAggregator.getBlockEntityType(),ctx->new RendererLifeAggregatorLike());
            BlockEntityRenderers.register(ModRegisteries.lifeExtra.getBlockEntityType(),ctx->new RendererLifeAggregatorLike());
        });
    }
}
